package com.org.message;

import org.springframework.stereotype.Component;

@Component
public class BaseMessage {

    public static final String SERVER_ERROR = "服务器异常";

    public static final String SELECT_ERROR = "查询失败";

    public static final String PHONE_ERROR = "号码格式错误";

    public static final String REGION_DELETE_ERROR = "该区域下有数据，不能删除";

    public static final String INVALID_MESSAGE = "无效信息";

    public static final String USER_NOT_EXIST = "用户不存在";

    public static final String USER_EXIST = "用户已存在";

    public static final String USER_NOT_LOGIN = "用户未登录";

    public static final String CAPTCHA_ERROR = "验证码错误";

    public static final String INSERT_SUCCESS = "新增成功";

    public static final String DELETE_SUCCESS = "删除成功";

    public static final String DELETE_ERROR = "该信息已被删除";

    public static final String UPDATE_SUCCESS = "修改成功";

    public static final String UPLOAD_ERROR = "上传失败";
}
